home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / parm_trn.h < prev    next >
C/C++ Source or Header  |  1996-07-10  |  3KB  |  71 lines

  1. /*  k 1002    24.07.90   */
  2. union parm_trn {
  3.   struct {
  4.   struct {
  5.   char adapter;           /* adapter number        */
  6.   char mode_address[6];   /* station address in ring */
  7.   short num_rcv_buffers;  /* number received buffers */
  8.   short rcv_buffer_len;   /* received buffer length  */
  9.   short data_hold_buf;    /* number sending  buffers */
  10.   struct product_id_addr *pia; /* ptr to id        */
  11.   short dir_buf_size;     /* buffers size in direct pool */
  12.   short dir_pool_blocks;  /* number 16b-blocks in dir pool */
  13.   struct dir_pool *dirp;  /* ptr to direct pool    */
  14.   char dlc_max_sta;       /* max number station dlc */
  15.   short *received_data;   /* ptr to exit-routine   */
  16.   }dir;
  17.   struct {
  18.   char maxout;            /* send window size        */
  19.   char maxin;             /* receive window size     */
  20.   short dlc_buf_size;     /* buffer size             */
  21.   short dlc_pool_len;     /* number 16b-blocks       */
  22.   struct dlc_pool *dlcp;  /* ptr to  pool            */
  23.   }dlc;
  24.   }parm_open;
  25.   struct {
  26.   short station_id[255];  /* station id array      */
  27.   short *close_data;      /* ptr to exit-routine   */
  28.   }parm_close;
  29.   struct {
  30.   char command;           /* command code          */
  31.   short station_id;       /* station id            */
  32.   short buffer_len_one;   /* buffer1 size          */
  33.   short buffer_len_two;   /* buffer2 size          */
  34.   short buffer_one_*pbo;  /* ptr to buffer1        */
  35.   short buffer_two_*pbt;  /* ptr to buffer2        */
  36.   short *write_data;      /* ptr to exit-routine   */
  37.   }parm_write;
  38.   struct {
  39.   short station_id;       /* station id            */ 
  40.   char option;            /* receive option        */
  41.   short *read_data;       /* ptr to exit-routine   */
  42.   }parm_read;
  43.   struct {
  44.   short sap_station_id;   /* MAC station id        */
  45.   char maxout;            /* send window size      */
  46.   char maxin;             /* receive window size   */
  47.   char rsap_value;        /* MAC remote address    */
  48.   char access_priority;   /* priority ring access  */
  49.   short *dest_addr;       /* ptr to receive remote station */
  50.   short *ioctl_addr;      /* ptr to exit-routine   */
  51.   short station_id;       /* station id            */
  52.   char option;            /* option                */ 
  53.   short *read_data;       /* ptr to exit-routine   */
  54.   }parm_open_station;
  55.   struct {
  56.   short station_id;       /* station id            */
  57.   short route *route;     /* ptr to route-table    */
  58.   }parm_connect;
  59.   struct {
  60.   short station_id;       /* station id            */
  61.   }parm_close_station;
  62.   struct {
  63.   short station_id;       /* station id            */
  64.   char buffer_get;        /* number required buffers */
  65.   }parm_get;
  66.   struct {
  67.   short station_id;       /* station id            */
  68.   struct buffer_one *pbo;  /* ptr to first free buffer */
  69.   }parm_free;
  70.  } parm_trn[5]
  71.